import { LayerManager } from './LayerManager'

export class MapHelper {
  constructor(id, map) {
    this._id = id
    this._map = map
    this._layerManager = new LayerManager(id, map)
  }

  get map() {
    return this._map
  }

  get layerManager() {
    return this._layerManager
  }

  destroy() {
    this._layerManager = null
  }
}
